<block name="style">
    <link href="__PUBLIC__/Admin/css/index.css" rel="stylesheet" type="text/css"/>
</block>
<block name="body">
    <div class="menu_box">
        <if condition="$_getAdminCategory['a_category'] eq 1">
            <dl class="wx-menu wx-menu-first">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_trade.png) no-repeat;"></i>图书管理
                </dt>

                <dd class="wx-menu_item " id="menuId-11">
                    <a href="#" onclick="bookShow()">书籍展示
                    </a>
                </dd>
                <dd class="wx-menu_item" id="menuId-12">
                    <a href="#" onclick="bookEntering()">书籍录入
                    </a>
                </dd>
                <dd class="wx-menu_item" id="menuId-13">
                    <a href="#" onclick="forumManage()">论坛管理
                    </a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-14">-->
                    <!--<a href="#" onclick="radioManage()">广播管理-->
                    <!--</a>-->
                <!--</dd>-->
            </dl>
            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_info.png) no-repeat;"></i>读者管理
                </dt>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readTypeManage()">读者类型管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readRealManage()">读者认证管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readRecordManage()">读者档案管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_message.png) no-repeat;"></i>消息管理
                </dt>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="systemInfoManage()">系统消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowManage()">借阅消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowInfoManage()">借阅订单管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="tradeManage()">交易消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="tradeInfoManage()">交易订单管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_safe.png) no-repeat;"></i>系统设置
                </dt>
                <dd class="wx-menu_item">
                    <a href="#" onclick="bookClassManage()">图书分类管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="libraryManage()">图书馆管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="adminManage()">管理员管理</a>
                </dd>
                <dd class="wx-menu_item">
                    <a href="#" onclick="userManage()">信息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="loginPassword()">登录密码</a>
                </dd>
            </dl>
            <else/>
            <dl class="wx-menu wx-menu-first">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_trade.png) no-repeat;"></i>图书管理
                </dt>

                <dd class="wx-menu_item ">
                    <a href="#" onclick="bookShow()">书籍展示
                    </a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="bookEntering()">书籍录入
                    </a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="forumManage()">论坛管理
                    </a>
                </dd>
                <!--<dd class="wx-menu_item" >-->
                    <!--<a href="#" onclick="radioManage()">广播管理-->
                    <!--</a>-->
                <!--</dd>-->
            </dl>
            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_info.png) no-repeat;"></i>读者管理
                </dt>
                <dd class="wx-menu_item" id="menuId-41">
                    <a href="#" onclick="readTypeManage()">读者类型管理</a>
                </dd>
                <dd class="wx-menu_item" id="menuId-42">
                    <a href="#" onclick="readRecordManage()">读者档案管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_message.png) no-repeat;"></i>消息管理
                </dt>
                <dd class="wx-menu_item" id="menuId-51">
                    <a href="#" onclick="systemInfoManage()">系统消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowManage()">借阅消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowInfoManage()">借阅订单管理</a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-52">-->
                    <!--<a href="#" onclick="tradeInfoManage()">交易消息管理</a>-->
                <!--</dd>-->
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_safe.png) no-repeat;"></i>系统设置
                </dt>
                <dd class="wx-menu_item" id="menuId-63">
                    <a href="#" onclick="bookClassManage()">图书分类管理</a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-60">-->
                    <!--<a href="#" onclick="libraryManage()">图书馆管理</a>-->
                <!--</dd>-->
                <!--<dd class="wx-menu_item" id="menuId-61">-->
                    <!--<a href="#" onclick="adminManage()">管理员管理</a>-->
                <!--</dd>-->
                <dd class="wx-menu_item" id="menuId-62">
                    <a href="#" onclick="userManage()">信息管理</a>
                </dd>
                <dd class="wx-menu_item" id="menuId-64">
                    <a href="#" onclick="loginPassword()">登录密码</a>
                </dd>
            </dl>
        </if>

    </div>
</block>
<block name="script">
    <script type="text/javascript">
        //        图书管理
        function bookShow(){
            document.getElementById("iframeA").src="{:U('Admin/BookManage/bookShow')}";
        }
        function bookEntering(){
            document.getElementById("iframeA").src="{:U('Admin/BookManage/bookEntering')}";
        }
        function forumManage(){
            document.getElementById("iframeA").src="{:U('Admin/BookManage/forumManage')}";
        }
        function radioManage(){
            document.getElementById("iframeA").src="{:U('Admin/BookManage/radioManage')}";
        }
        //        读者管理
        function readTypeManage(){
            document.getElementById("iframeA").src="{:U('Admin/ReadManage/readTypeManage')}";
        }
        function readRealManage(){
            document.getElementById("iframeA").src="{:U('Admin/ReadManage/readRealManage')}";
        }
        function readRecordManage(){
            document.getElementById("iframeA").src="{:U('Admin/ReadManage/readRecordManage')}";
        }
        //        消息管理
        function systemInfoManage(){
            document.getElementById("iframeA").src="{:U('Admin/InfoManage/systemInfoManage')}";
        }
        function borrowManage(){
            document.getElementById("iframeA").src="{:U('Admin/InfoManage/borrowManage')}";
        }
        function borrowInfoManage(){
            document.getElementById("iframeA").src="{:U('Admin/InfoManage/borrowInfoManage')}";
        }
        function tradeManage(){
            document.getElementById("iframeA").src="{:U('Admin/InfoManage/tradeManage')}";
        }
        function tradeInfoManage(){
            document.getElementById("iframeA").src="{:U('Admin/InfoManage/tradeInfoManage')}";
        }
        //        系统管理
        function libraryManage(){
            document.getElementById("iframeA").src="{:U('Admin/SystemManage/libraryManage')}";
        }
        function adminManage(){
            document.getElementById("iframeA").src="{:U('Admin/SystemManage/adminManage')}";
        }
        function userManage(){
            document.getElementById("iframeA").src="{:U('Admin/SystemManage/userManage')}";
        }
        function bookClassManage(){
            document.getElementById("iframeA").src="{:U('Admin/SystemManage/bookClassManage')}";
        }
        function loginPassword(){
            document.getElementById("iframeA").src="{:U('Admin/SystemManage/loginPassword')}";
        }
    </script>
</block>

